package ink.xiaobaibai.common;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @description: 修改价格时间段
 * @author: 小白白
 * @create: 2021-06-16
 **/

@Data
public class UpdatePriceBo {

    @NotNull
    @Min(1)
    private BigDecimal priceOne;
    @NotNull
    @Min(1)
    private Integer timeOne;

    @NotNull
    @Min(1)
    private BigDecimal priceTwo;
    @NotNull
    @Min(1)
    private Integer timeTwo;

    @NotNull
    @Min(1)
    private BigDecimal priceThree;
    @NotNull
    @Min(1)
    private Integer timeThree;

}
